package comics;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author zhang
 * @Date 2021/5/8 下午11:51
 * @Description 漫画轮播图类
 * @Version 1.0
 **/
@Data
@TableName("wm_comics_carousel")
public class ComicsCarousel implements Serializable {

    @TableId
    private Long carouselId;
    private Long comicsId;
    private String carouselCover;
    @JSONField(serialize = false)
    private Integer carouselStatus;
    @JSONField(serialize = false)
    @TableField(fill = FieldFill.INSERT)
    private Date gwtCreate;

}
